package com.baizhi.springboot.service;

import com.baizhi.springboot.entity.Banner;

import java.util.List;
import java.util.Map;

public interface BannerService {
    Map selectBannerByPage(Integer page, Integer limit);

    void insertBanner(Banner banner);

    void deleteBanner(Integer id);

    Banner selectOneBanner(Integer id);

    void updateBanner(Banner banner);
}
